cd wvdial-wrapper
make
cd ..
cp wvdial-wrapper/wvdial-wrapper /usr/sbin/
cp .wvdial.conf /home/local/
echo "Archivos copiados"
chmod 711 /usr/sbin/wvdial-wrapper
chmod 666 /home/local/.wvdial.conf
echo "Permisos asignados"
# Link ConsoleHelper
ln -sf /usr/bin/consolehelper /usr/bin/wvdial-wrapper
# Pam.d
cp security/pam.d/wvdial-wrapper /etc/pam.d/wvdial-wrapper
chmod 600 /etc/pam.d/wvdial-wrapper
# Console.apps
cp security/console.apps/wvdial-wrapper /etc/security/console.apps/
chmod 600 /etc/security/console.apps/wvdial-wrapper







